package com.JZ.QM.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author: cyc
 * @email cyc@gmail.com
 * @date: 2020/7/1 16:20
 */
@Data
public class RechargeAndWithdrawalDTO {

    @NotNull(message = "用户id不能为空")
    private Long userId;

    @NotNull(message = "金额不能为空")
    private BigDecimal tradeMoney;

    @NotBlank(message = "银行卡号码不能为空")
    private String bankAccountCard;

    private Long bankAccountId;

    private Long userAccountId;

    @NotBlank(message = "支付密码不能为空")
    private String userPassword;

    private BigDecimal userAccountAmoount;

    private BigDecimal bankAccountAmoount;
}
